Fix the build with mingw.org's MinGW
authorEli Zaretskii <eliz@gnu.org>
Tue, 4 Jun 2024 16:12:38 +0000 (19:12 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 4 Jun 2024 16:12:38 +0000 (19:12 +0300)
The change in boot-time.c imported from Gnulib broke the
MinGW build using mingw.org's MinGW.  It is wrong to include
sysinfoapi.h, MS documentation says to include <windows.h>.
* lib/boot-time.c: Don't include sysinfoapi.h.

lib/boot-time.c

index 71562dcf751af3ca05d903e319d75f997f7776ee..515fc48069a4757eab92753cbce9bf33a4b77e09 100644 (file)
@@ -46,7 +46,6 @@
 #if defined _WIN32 && ! defined __CYGWIN__
 # define WIN32_LEAN_AND_MEAN
 # include <windows.h>
-# include <sysinfoapi.h>
 # include <sys/time.h>
 #endif